package com.ruoyi.book.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员对象 bmember
 * 
 * @author ruoyi
 * @date 2023-05-09
 */
public class Member extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 抖音id */
    @Excel(name = "抖音id")
    private String douyinid;

    /** 抖音号 */
    @Excel(name = "抖音号")
    private String douyinacc;

    /** 账户名 */
    @Excel(name = "账户名")
    private String accountname;

    /** 账户到期日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账户到期日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expiredate;

    /** 收益 */
    @Excel(name = "收益")
    private Double money;

    /** 头像地址 */
    @Excel(name = "头像地址")
    private String headicon;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDouyinid(String douyinid) 
    {
        this.douyinid = douyinid;
    }

    public String getDouyinid() 
    {
        return douyinid;
    }
    public void setDouyinacc(String douyinacc) 
    {
        this.douyinacc = douyinacc;
    }

    public String getDouyinacc() 
    {
        return douyinacc;
    }
    public void setAccountname(String accountname) 
    {
        this.accountname = accountname;
    }

    public String getAccountname() 
    {
        return accountname;
    }
    public void setExpiredate(Date expiredate) 
    {
        this.expiredate = expiredate;
    }

    public Date getExpiredate() 
    {
        return expiredate;
    }
    public void setMoney(Double money) 
    {
        this.money = money;
    }

    public Double getMoney() 
    {
        return money;
    }
    public void setHeadicon(String headicon) 
    {
        this.headicon = headicon;
    }

    public String getHeadicon() 
    {
        return headicon;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("douyinid", getDouyinid())
            .append("douyinacc", getDouyinacc())
            .append("accountname", getAccountname())
            .append("expiredate", getExpiredate())
            .append("money", getMoney())
            .append("headicon", getHeadicon())
            .toString();
    }
}
